ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 8 - No. 9)

What is a 'flag' variable used for in an algorithm?
To store a numerical value.
To indicate the status of a condition.
To display output to the user.
To control the number of iterations in a loop.

Giải thích

A flag variable is used to signal whether a certain condition is met during program execution.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc